export default defineAppConfig({
  pages: [
    // "pages/index/index",
    "pages/login/login",
    "pages/home/home",
    "pages/home/details",

    // "pages/login/login",

    "pages/product/product",

    "pages/my/my",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
  },
  tabBar: {
    color: "#bfbfbf",
    selectedColor: "#4072db",
    backgroundColor: "#fafafa",
    borderStyle: "black",
    list: [
      {
        pagePath: "pages/home/home",
        iconPath: "./assets/imgs/tab-bar/home.png",
        selectedIconPath: "./assets/imgs/tab-bar/home-act.png",
        text: "设备",
      },
      {
        pagePath: "pages/product/product",
        iconPath: "./assets/imgs/tab-bar/product.png",
        selectedIconPath: "./assets/imgs/tab-bar/product-act.png",
        text: "产品",
      },
      {
        pagePath: "pages/my/my",
        iconPath: "./assets/imgs/tab-bar/my.png",
        selectedIconPath: "./assets/imgs/tab-bar/my-act.png",
        text: "我的",
      },
    ],
  },
});
